Skip to content

Allow setting active_low with 'True' and 'False' too#21

Open
zpfvo wants to merge 1 commit intoderekstavis:masterfrom
zpfvo:allow-bool-for-activelow-setting
Open

Allow setting active_low with 'True' and 'False' too#21
zpfvo wants to merge 1 commit intoderekstavis:masterfrom
zpfvo:allow-bool-for-activelow-setting

Conversation

@zpfvo
Copy link
Contributor

@zpfvo zpfvo commented Aug 9, 2017

Hi,

i want to propose this change to the pin allocation method which allows to set the active_low setting with boolean {True,False}. I think it feels more intuitive to use

active_low=True instead of active_low=1.

This change allows both methods.
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant